<template>
  <h4>子组件</h4>
  <el-button @click="changeChildren">子组件数据</el-button>
</template>

<script setup>
let emit = defineEmits(["onchangeCount"]);
const changeChildren = () => {
  emit('onchangeCount', 3)
}
</script>


<style scoped lang="less">

</style>